package com.yuda.campsite.service.impl;

import com.yuda.campsite.domain.WorkForQianDuan;
import com.yuda.campsite.mapper.WorkForQianDuanMapper;
import com.yuda.campsite.service.WorkForQianDuanService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author: xiaohudie
 * @Date: 2022/1/17 17:18
 * @Version: 1.8
 */
@Service
public class WorkForQianDuanServiceImpl  implements WorkForQianDuanService {
    @Resource
    private WorkForQianDuanMapper workForQianDuanMapper;
    @Override
    public List<WorkForQianDuan> ChaXunStudentTrue(String campsiteId) {
        return  workForQianDuanMapper.ChaXunStudentTrue(campsiteId);
    }

    @Override
    public Integer ZhiDingZuoYe(String workId, String studentId, String campsiteId) {
        Integer integer = workForQianDuanMapper.ZhiDingZuoYe(workId, studentId, campsiteId);
        return integer;
    }

    @Override
    public String XueShengWorkId(String studentId, String campsiteId) {
        return workForQianDuanMapper.XueShengWorkId(studentId, campsiteId);
    }

    @Override
    public Integer WorkZhongShuLiang(String workId) {
        return workForQianDuanMapper.WorkZhongShuLiang(workId);
    }

    @Override
    public Integer YiTiJiaoShuLiang(String workId) {
        return workForQianDuanMapper.YiTiJiaoShuLiang(workId);
    }

    @Override
    public Integer WeiPingFen(String workId) {
        return workForQianDuanMapper.WeiPingFen(workId);
    }

    @Override
    public Integer YiPingFen(String workId) {
        return workForQianDuanMapper.YiPingFen(workId);
    }

    @Override
    public String ChaXunZuoYeId(String studentId, String campsiteId) {
        return workForQianDuanMapper.ChaXunZuoYeId(studentId, campsiteId);
    }

    @Override
    public List<String> XuanZheHuiXian(String campsiteId, String workId) {
        return workForQianDuanMapper.XuanZheHuiXian(campsiteId, workId);
    }
}
